package com.bdqn.vueboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bdqn.vueboot.entity.ConferenceRoot;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface ConferenceRootService extends IService<ConferenceRoot> {
    /**
     * 查询会议列表
     *
     * @param conferenceTitle
     * @param conferencename
     * @param indexPage
     * @param limit
     * @return
     */
    IPage<ConferenceRoot> findAllByConferenceListBiz(String conferenceTitle, String conferencename, Integer meetingStatusId, Integer indexPage, Integer limit);

    /**
     * 添加会议和修改会议
     *
     * @param conferenceRoot
     * @return
     */
    int addConferenceRoot(ConferenceRoot conferenceRoot);

    /**
     * 取消会议
     *
     * @param odd
     * @param isDele
     * @return
     */
    int delIsDeleByOdd(Long odd, Long isDele);

    int sevaAudit(Integer meetingStatusId, Long odd);

}
